package com.supertange.miniapp.wepet.modules.wepet.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.supertange.miniapp.wepet.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("comments")
public class CommentsEntity extends BaseEntity<CommentsEntity> implements Serializable {
    @TableId
    private String id;

    /**
     * 父评论
     */
    private String fatherCommentId;

    /**
     * toUserId
     */
    private String toUserId;

    /**
     * 视频id
     */
    private String videoId;

    /**
     * 留言者，评论的用户id
     */
    private String fromUserId;

    /**
     * 评论内容
     */
    private String comment;

    /**
     *喜欢数目
     */
    private long likeNum;

    /**
     *状态
     */
    private int status;


}